#ifndef __BTL_DEBUG_LOG_H__
#define __BTL_DEBUG_LOG_H__
#include "btl_config.h"
// #include <stdio.h>

// #define __FILENAME__ (strrchr(__FILE__, '\\') ? strrchr(__FILE__, '\\') + 1 : __FILE__)

#ifdef __DEBUG_LOG__
#define bf_print_d(format, ...)                                          \
    printf("[FINGERPRINT][%d %s]" format, __LINE__, __FUNCTION__, ##__VA_ARGS__); \
    printf("\r\n")
#else
#define bf_print_d(format, ...)
#endif /* __DEBUG_LOG__ */

void print_bytes(const char* label, const uint8_t* bytes, size_t len);
void print_bytes_i(int i, const uint8_t* bytes, size_t len);
#endif /* __BTL_DEBUG_LOG_H__ */
